﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Community.CsharpSqlite.Entity
{

    /*
** Each builtin conversion character (ex: the 'd' in "%d") is described
** by an instance of the following structure
*/

    public class et_info
    {
        /* Information about each format field */
        public byte _base; /* The _base for radix conversion */
        public byte charset; /* Offset into aDigits[] of the digits string */
        public byte flags; /* One or more of FLAG_ constants below */
        public char fmttype; /* The format field code letter */
        public byte prefix; /* Offset into aPrefix[] of the prefix string */
        public byte type; /* Conversion paradigm */
        /*
  * Constructor
  */

        public et_info(char fmttype,
                       byte _base,
                       byte flags,
                       byte type,
                       byte charset,
                       byte prefix
            )
        {
            this.fmttype = fmttype;
            this._base = _base;
            this.flags = flags;
            this.type = type;
            this.charset = charset;
            this.prefix = prefix;
        }
    }
}
